package com.exam.mysql;

import com.exam.entity.SysUserRoleMappingExample;
import com.exam.entity.SysUserRoleMappingKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysUserRoleMappingDao {
    long countByExample(SysUserRoleMappingExample example);

    int deleteByExample(SysUserRoleMappingExample example);

    int deleteByPrimaryKey(SysUserRoleMappingKey key);

    int insert(SysUserRoleMappingKey record);

    int insertSelective(SysUserRoleMappingKey record);

    List<SysUserRoleMappingKey> selectByExample(SysUserRoleMappingExample example);

    int updateByExampleSelective(@Param("record") SysUserRoleMappingKey record, @Param("example") SysUserRoleMappingExample example);

    int updateByExample(@Param("record") SysUserRoleMappingKey record, @Param("example") SysUserRoleMappingExample example);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table sys_user_role_mapping
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<SysUserRoleMappingKey> list);
}